package com.woniu.order.common.enums;

public enum OrderStatusEnum {
    CREATED("CREATED", "已创建 "),
    PAID("PAID", "已支付"),
    CANCEL("CANCEL", "已取消"),
    REJECT("REJECT", "已拒绝 "),
    DELIVERED("DELIVERED", "已发货"),
    FINISH("FINISH", "已完成 "),
    REFUND("REFUND", "已退款")
    ;
    private String code;
    private String message;

    private OrderStatusEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
